#include<stdio.h>

void print_rev_str(char* s) {
    char* p = s;
    while (*p != '\0') {
        p++;
    }

    while (p != s) {
        printf("%c", *p--);
    }

    printf("%c", *s);
}

int main() {
    print_rev_str("CJLU");
    return 0;
}
